package com.lmaye.design.patterns.behavioral.strategy;

/**
 * --
 *
 * @author lmay.Zhou
 * @date 2021/4/1 23:17
 * @qq 379839355
 * @email lmay@lmaye.com
 * @since JDK1.8
 */
public class IntegerType implements IType<Integer> {
    @Override
    public IType<Integer> getType(Class<?> type) {
        return new IntegerType();
    }

    @Override
    public Integer conversionType(String value) {
        return Integer.parseInt(value);
    }
}
